﻿#region File Description
//-----------------------------------------------------------------------------
// Helper.cs
//
// Wolfenstein3DX
// Copyright (C) Nexxt Studios - 2009
//-----------------------------------------------------------------------------
#endregion

#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
#endregion

namespace Wolf3d.Helpers
{
    /// <summary>
    /// Here should be all the common helper methods 
    /// </summary>
    public static class Helper
    {

        /// <summary>
        /// Displays a funny Quit Message
        /// </summary>
        /// <returns>quit message string</returns>
        public static string QuitMessage()
        {
            Random rnd = new Random();
            int quitMessageIndex = rnd.Next(1, 9);
            switch (quitMessageIndex)
            {
                case 1:
                    return Resources.ConfirmQuitGameMessage1;
                case 2:
                    return Resources.ConfirmQuitGameMessage2;
                case 3:
                    return Resources.ConfirmQuitGameMessage3;
                case 4:
                    return Resources.ConfirmQuitGameMessage4;
                case 5:
                    return Resources.ConfirmQuitGameMessage5;
                case 6:
                    return Resources.ConfirmQuitGameMessage6;
                case 7:
                    return Resources.ConfirmQuitGameMessage7;
                case 8:
                    return Resources.ConfirmQuitGameMessage8;
                case 9:
                    return Resources.ConfirmQuitGameMessage9;
                default:
                    return Resources.ConfirmQuitGame;
            }
        }


    }
}
